[Unit]
Description=Kubernetes Controller Manager
Documentation=https://github.com/kubernetes/kubernetes

[Service]
EnvironmentFile=-/etc/kubernetes/controller-manager
ExecStart=/usr/bin/kube-controller-manager \
            $KUBE_LOGTOSTDERR \
            $KUBE_LOG_LEVEL \
            $KUBE_MASTER \
            $KUBE_ADDRESSES \
            $KUBE_PORT \
            $KUBE_CLUSTER_SIGINING_CERT_FILE \
            $KUBE_CLUSTER_SIGINING_KEY_FILE \
            $KUBE_CONTROLLER_MANAGER_ROOT_CA_FILE \
            $KUBE_CONTROLLER_MANAGER_SERVICE_ACCOUNT_PRIVATE_KEY_FILE \
            $KUBE_CONTROLLER_MANAGER_TLS_CERT_FILE \
            $KUBE_CONTROLLER_MANAGER_TLS_PRIVATE_KEY_FILE \
            $KUBE_SERVICE_ADDRESSES \
            $KUBE_LEADER_ELECT \
            $KUBE_CONTROLLER_MANAGER_ARGS
Restart=on-failure
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target
